package pl.puntin.punclient.messages;

public class JoinRoomOkMessage extends Message {
	
	public String idRoom;
	
	@Override
	public byte getType() {
		return MessageTypes.S_JOIN_ROOM_OK;
	}

	@Override
	public byte[] getByteForm() {
		return null;
	}
	
	@Override
	protected void yourDataIsReadyInitYourSelf(final byte[] data)
	{
		idRoom = Byte.toString(data[1]);
	}
}
